{% extends 'base.html' %}

{% block head %}
<title>Home</title>
{% endblock %}
{% block body %}
<div class="content">
	<table border="1px">
		<tr>
			<th>who</th>
			<th>title</th>
			<th>time</th>
			<th>action</th>
		</tr>
		{% for message in datas %}
		<tr>
			<td>{{ message.who }}</td>
			<td>{{ message.title }}</td>
			<td>{{ message.time }}</td>
			<td><a href="#">delete</a> <a href="#">edit</a></td>
		</tr>
		{% endfor %}
	</table>
</div>
{% endblock %}
